(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "react", "components/html/editor"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    const React = require("react");
    const editor_1 = require("components/html/editor");
    function htmlRender(propEditors) {
        let htmlEditor = propEditors.filter(o => o.prop == editor_1.htmlProp)[0];
        console.assert(htmlEditor != null);
        return React.createElement("div", { className: "form-group" }, htmlEditor.editor);
    }
    exports.htmlRender = htmlRender;
});
